<?php


namespace app\common\model;


class SlideItem extends BaseModel{

    public static function getListBySlideId($slideId){
        if(!$slideId){
            return [];
        }
        return self::where('slide_id','IN',$slideId)->field('title,subtitle,url,image')->select();
    }
}